<?php
require 'MysqlStmt.php';
require "HeaderUtils.php";
require 'MysqliUtils.php';
require 'MysqlUtils.php';
require 'DateUtils.php';
require 'StringUtils.php';
require 'Image.class.php';
// HeaderUtils::charset ( 'utf-8' );

// echo StringUtils::randString(4,1);

Image::buildImageVerify();

// echo $_SESSION['verify'];



// $mysql = new MysqlUtils ();

// $query = "select * from user3";
// $result = $mysql->delete( $query );

// echo $result ['id'] . '--' . $result ['name'] . '--' . $result ['age'] . '<br/>';

// $mysqli = new MysqliUtils ();

// $query = "select * from user ";
// $mysqli->findList ( $query );




// $mysqlStmt = new MysqlStmt ();

// $query = "select * from user where iid =?";
// $stmt = $mysqlStmt->stmt;

// $result = $stmt->prepare ( $query );
// if (! $result) {
// 	die ( 'sql 语句错误 ' . $stmt->errno . ':' . $stmt->error );
// }
// $pid = 10;
// $stmt->bind_param ( 'i', $pid );
// $stmt->execute ();
// $stmt->bind_result ( $id, $name, $age );
// // echo $stmt->affected_rows;

// $stmt->store_result ();

// while ( $stmt->fetch () ) {
// 	echo $id . '---' . $name . '---' . $age . '<br/>';
// }
// $stmt->free_result ();
